package com.ruoyi.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ruoyi.entity.po.TJudges;
import com.ruoyi.mapper.TJudgesMapper;
import com.ruoyi.service.IJudgesService;

@Service
public class JudegesServiceImpl implements IJudgesService {

    @Autowired
    private TJudgesMapper judgesMapper;

    @Override
    public List<TJudges> selectJudgesList(TJudges judges) {
        return judgesMapper.selectJudgesList(judges);
    }

    @Override
    public int insertJudges(TJudges judges) {
        return judgesMapper.insertJudges(judges);
    }

    @Override
    public TJudges selectByPhoneNum(String phoneNum) {
        return judgesMapper.selectByPhoneNum(phoneNum);
    }
}
